<?php
/*
# ------------------------------------------------------------------------
# JD Base Theme
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
# Author: JoomlArt.com
# Websites: http://www.joomlart.com - http://www.joomlancers.com.
# ------------------------------------------------------------------------
*/
?>

<?php if(!$ismobile): ?>

<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=<?php echo $gfonts ?>" />
<style type="text/css">

<?php if ($fonts['global']): ?>
	body#bd {font-family: '<?php echo $fonts['global'] ?>';<?php echo $fonts['global-custom'] ?>}
<?php endif; ?>

<?php if ($fonts['logo']): ?>
	div.logo-text h1 {font-family: '<?php echo $fonts['logo'] ?>';<?php echo $fonts['logo-custom'] ?>}
<?php endif; ?>

<?php if ($fonts['slogan']): ?>
	p.site-slogan {font-family: '<?php echo $fonts['slogan'] ?>';<?php echo $fonts['slogan-custom'] ?>}
<?php endif; ?>

<?php if ($fonts['pageheading']): ?>
	h2.page-heading {font-family: '<?php echo $fonts['pageheading'] ?>';<?php echo $fonts['pageheading-custom'] ?>}
<?php endif; ?>

<?php if ($fonts['nodeheading']): ?>
	h2.node-heading,
	.node-content h1, 
	.node-content h2, 
	.node-content h3, 
	.node-content h4, 
	.node-content h5,
	.node-content h6 {font-family: '<?php echo $fonts['nodeheading'] ?>';<?php echo $fonts['nodeheading-custom'] ?>}
<?php endif; ?>

<?php if ($fonts['blocktitle']): ?>
	div.ja-block h2, div.block h2,
	div.ja-block-rounded h2, div.block-rounded h2 {font-family: '<?php echo $fonts['blocktitle'] ?>';<?php echo $fonts['blocktitle-custom'] ?>}
<?php endif; ?>

<?php if ($fonts['mainnav']): ?>
	#ja-mainnav {font-family: '<?php echo $fonts['mainnav'] ?>';<?php echo $fonts['mainnav-custom'] ?>}
<?php endif; ?>

</style>

<style type="text/css">
/*dynamic css*/
	.main {
		width: <?php echo $screen_width ?>;
	}
</style>
<?php endif;?>